<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Add Server Instance Wizard: Domain Folder Location</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="AS_RegServ_EnterPIDiR,AS_RegServ_EnterDomainDir" name="AS_RegServ_EnterPIDiR,AS_RegServ_EnterDomainDir"></a></p>
<div id="NBCSH4857"><!-- infolevel="all" infotype="General" --><a id="sthref706" name="sthref706"></a>
<h1>Add Server Instance Wizard: Domain Folder Location</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>You see this page of the Add Server Instance wizard when you are creating a new domain or specifying an existing local domain of the GlassFish Server v1, GlassFish Server v2.x or Sun Java System Application Server that is not the local default domain. Use this page of the wizard to specify the location of the domain you are registering.</p>
<p>To register an instance of GlassFish Server v1 or v2.x you need to install the GlassFish Server v1, v2.x plugin from the Update Center.</p>
<p>If you are specifying the location of an existing domain, type the path to the domain folder in the Domain Folder text field, or click Browse to use the file chooser to navigate to the domain on your system.</p>
<p>If you are creating a new domain, in the Domain Folder text field, type the path to the folder you want to contain the new domain folder, then type the name of the domain. Alternatively, click Browse and use the file chooser to locate the containing folder and then type the name of the new domain.</p>
<p>For example, type path-to-location/GlassFishDomains/MyDomain to create a domain called MyDomain in the folder GlassFishDomains, where the folder MyDomain does not yet exist. The IDE creates the folder MyDomain for you.</p>
<a id="NBCSH4858" name="NBCSH4858"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1681">
<param name="text" value="<html><u>&quot;Working with Glassfish Application Servers&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<!-- -->
<!-- Start Footer -->


<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>
